namespace ShareMarking.Entity {
    	using System;
    	
    	
    	/// <summary>
    	/// 表名：qr_wxTeleText 主键列：TypeID
    	/// </summary>
    	[SerializableAttribute()]
    	public partial class qr_wxTeleText : MySoft.Data.Entity {
    		
    		protected Int32 _TypeID;
    		
    		protected String _T_Name;
    		
    		protected String _T_wxTitle;
    		
    		protected String _T_wxContent;
    		
    		protected String _T_wxImgUrl;
    		
    		protected String _T_wxUrl;
    		
    		protected String _T_Paramete1;
    		
    		protected String _T_Paramete2;
    		
    		protected String _T_Paramete3;
    		
    		protected String _T_Paramete4;
    		
    		protected String _T_Paramete5;
    		
    		public Int32 TypeID {
    			get {
    				return this._TypeID;
    			}
    			set {
    				this.OnPropertyValueChange(_.TypeID, _TypeID, value);
    				this._TypeID = value;
    			}
    		}
    		
    		public String T_Name {
    			get {
    				return this._T_Name;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Name, _T_Name, value);
    				this._T_Name = value;
    			}
    		}
    		
    		public String T_wxTitle {
    			get {
    				return this._T_wxTitle;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_wxTitle, _T_wxTitle, value);
    				this._T_wxTitle = value;
    			}
    		}
    		
    		public String T_wxContent {
    			get {
    				return this._T_wxContent;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_wxContent, _T_wxContent, value);
    				this._T_wxContent = value;
    			}
    		}
    		
    		public String T_wxImgUrl {
    			get {
    				return this._T_wxImgUrl;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_wxImgUrl, _T_wxImgUrl, value);
    				this._T_wxImgUrl = value;
    			}
    		}
    		
    		public String T_wxUrl {
    			get {
    				return this._T_wxUrl;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_wxUrl, _T_wxUrl, value);
    				this._T_wxUrl = value;
    			}
    		}
    		
    		public String T_Paramete1 {
    			get {
    				return this._T_Paramete1;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Paramete1, _T_Paramete1, value);
    				this._T_Paramete1 = value;
    			}
    		}
    		
    		public String T_Paramete2 {
    			get {
    				return this._T_Paramete2;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Paramete2, _T_Paramete2, value);
    				this._T_Paramete2 = value;
    			}
    		}
    		
    		public String T_Paramete3 {
    			get {
    				return this._T_Paramete3;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Paramete3, _T_Paramete3, value);
    				this._T_Paramete3 = value;
    			}
    		}
    		
    		public String T_Paramete4 {
    			get {
    				return this._T_Paramete4;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Paramete4, _T_Paramete4, value);
    				this._T_Paramete4 = value;
    			}
    		}
    		
    		public String T_Paramete5 {
    			get {
    				return this._T_Paramete5;
    			}
    			set {
    				this.OnPropertyValueChange(_.T_Paramete5, _T_Paramete5, value);
    				this._T_Paramete5 = value;
    			}
    		}
    		
    		/// <summary>
    		/// 获取实体对应的表名
    		/// </summary>
    		protected override MySoft.Data.Table GetTable() {
    			return new MySoft.Data.Table<qr_wxTeleText>("qr_wxTeleText");
    		}
    		
    		/// <summary>
    		/// 获取实体中的标识列
    		/// </summary>
    		protected override MySoft.Data.Field GetIdentityField() {
    			return _.TypeID;
    		}
    		
    		/// <summary>
    		/// 获取实体中的主键列
    		/// </summary>
    		protected override MySoft.Data.Field[] GetPrimaryKeyFields() {
    			return new MySoft.Data.Field[] {
    					_.TypeID};
    		}
    		
    		/// <summary>
    		/// 获取列信息
    		/// </summary>
    		protected override MySoft.Data.Field[] GetFields() {
    			return new MySoft.Data.Field[] {
    					_.TypeID,
    					_.T_Name,
    					_.T_wxTitle,
    					_.T_wxContent,
    					_.T_wxImgUrl,
    					_.T_wxUrl,
    					_.T_Paramete1,
    					_.T_Paramete2,
    					_.T_Paramete3,
    					_.T_Paramete4,
    					_.T_Paramete5};
    		}
    		
    		/// <summary>
    		/// 获取列数据
    		/// </summary>
    		protected override object[] GetValues() {
    			return new object[] {
    					this._TypeID,
    					this._T_Name,
    					this._T_wxTitle,
    					this._T_wxContent,
    					this._T_wxImgUrl,
    					this._T_wxUrl,
    					this._T_Paramete1,
    					this._T_Paramete2,
    					this._T_Paramete3,
    					this._T_Paramete4,
    					this._T_Paramete5};
    		}
    		
    		/// <summary>
    		/// 给当前实体赋值
    		/// </summary>
    		protected override void SetValues(MySoft.Data.IRowReader reader) {
    			if ((false == reader.IsDBNull(_.TypeID))) {
    				this._TypeID = reader.GetInt32(_.TypeID);
    			}
    			if ((false == reader.IsDBNull(_.T_Name))) {
    				this._T_Name = reader.GetString(_.T_Name);
    			}
    			if ((false == reader.IsDBNull(_.T_wxTitle))) {
    				this._T_wxTitle = reader.GetString(_.T_wxTitle);
    			}
    			if ((false == reader.IsDBNull(_.T_wxContent))) {
    				this._T_wxContent = reader.GetString(_.T_wxContent);
    			}
    			if ((false == reader.IsDBNull(_.T_wxImgUrl))) {
    				this._T_wxImgUrl = reader.GetString(_.T_wxImgUrl);
    			}
    			if ((false == reader.IsDBNull(_.T_wxUrl))) {
    				this._T_wxUrl = reader.GetString(_.T_wxUrl);
    			}
    			if ((false == reader.IsDBNull(_.T_Paramete1))) {
    				this._T_Paramete1 = reader.GetString(_.T_Paramete1);
    			}
    			if ((false == reader.IsDBNull(_.T_Paramete2))) {
    				this._T_Paramete2 = reader.GetString(_.T_Paramete2);
    			}
    			if ((false == reader.IsDBNull(_.T_Paramete3))) {
    				this._T_Paramete3 = reader.GetString(_.T_Paramete3);
    			}
    			if ((false == reader.IsDBNull(_.T_Paramete4))) {
    				this._T_Paramete4 = reader.GetString(_.T_Paramete4);
    			}
    			if ((false == reader.IsDBNull(_.T_Paramete5))) {
    				this._T_Paramete5 = reader.GetString(_.T_Paramete5);
    			}
    		}
    		
    		public override int GetHashCode() {
    			return base.GetHashCode();
    		}
    		
    		public override bool Equals(object obj) {
    			if ((obj == null)) {
    				return false;
    			}
    			if ((false == typeof(qr_wxTeleText).IsAssignableFrom(obj.GetType()))) {
    				return false;
    			}
    			if ((((object)(this)) == ((object)(obj)))) {
    				return true;
    			}
    			return false;
    		}
    		
    		public class _ {
    			
    			/// <summary>
    			/// 表示选择所有列，与*等同
    			/// </summary>
    			public static MySoft.Data.AllField All = new MySoft.Data.AllField<qr_wxTeleText>();
    			
    			/// <summary>
    			/// 字段名：TypeID - 数据类型：Int32
    			/// </summary>
    			public static MySoft.Data.Field TypeID = new MySoft.Data.Field<qr_wxTeleText>("TypeID");
    			
    			/// <summary>
    			/// 字段名：T_Name - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Name = new MySoft.Data.Field<qr_wxTeleText>("T_Name");
    			
    			/// <summary>
    			/// 字段名：T_wxTitle - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_wxTitle = new MySoft.Data.Field<qr_wxTeleText>("T_wxTitle");
    			
    			/// <summary>
    			/// 字段名：T_wxContent - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_wxContent = new MySoft.Data.Field<qr_wxTeleText>("T_wxContent");
    			
    			/// <summary>
    			/// 字段名：T_wxImgUrl - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_wxImgUrl = new MySoft.Data.Field<qr_wxTeleText>("T_wxImgUrl");
    			
    			/// <summary>
    			/// 字段名：T_wxUrl - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_wxUrl = new MySoft.Data.Field<qr_wxTeleText>("T_wxUrl");
    			
    			/// <summary>
    			/// 字段名：T_Paramete1 - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Paramete1 = new MySoft.Data.Field<qr_wxTeleText>("T_Paramete1");
    			
    			/// <summary>
    			/// 字段名：T_Paramete2 - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Paramete2 = new MySoft.Data.Field<qr_wxTeleText>("T_Paramete2");
    			
    			/// <summary>
    			/// 字段名：T_Paramete3 - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Paramete3 = new MySoft.Data.Field<qr_wxTeleText>("T_Paramete3");
    			
    			/// <summary>
    			/// 字段名：T_Paramete4 - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Paramete4 = new MySoft.Data.Field<qr_wxTeleText>("T_Paramete4");
    			
    			/// <summary>
    			/// 字段名：T_Paramete5 - 数据类型：String
    			/// </summary>
    			public static MySoft.Data.Field T_Paramete5 = new MySoft.Data.Field<qr_wxTeleText>("T_Paramete5");
    		}
    	}
    }
